import RouteContext from "./RouteContext";

// 路由守卫中间件
type IMiddleware<E = any> = (ctx: RouteContext<E>, next: () => Promise<any>) => Promise<void>

export default IMiddleware;

